export function getWeek() {
    let date = new Date()
    let y = date.getFullYear()
    let m = date.getMonth() +1;
    let d = date.getDate()
    let day1 = new Date(y, parseInt(m) - 1, d);
    let day2 = new Date(y, 0, 1);
    let day = Math.round((day1.valueOf() - day2.valueOf()) / 86400000);
    return Math.ceil((day + ((day2.getDay() + 1) - 1)) / 7)
  }